
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page import = " fms.services.FieldQueryService,fms.services.ServiceException,fms.common.FieldInfo,fms.services.ServiceManager"%>

<%
	FieldQueryService service = null;
	try {
			service = (FieldQueryService) ServiceManager.getDefaultManager()
					.getService(FieldQueryService.class);
		} catch (ServiceException e) {

			e.printStackTrace();
		}
	String fieldid = (String)request.getParameter("field_id");
	FieldInfo fieldinfo = service.getFieldInfoById(fieldid);
	
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		

		<title>修改场地信息e</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">

		<!--
    <link rel="stylesheet" type="text/css" href="styles.css">
    -->
	</head>
<jsp:include page="top.jsp" />
<hr>
	<BODY>
		&nbsp;
		<P></P>
		<DIV align="center">
			<FONT face="Times New Roman" size="6"><STRONG>修改体育馆场地信息 </STRONG></FONT>
		</DIV>
		<P></P>
		<BR>
		<FORM name="upadatefieldinfoForm" method=post action="updatefieldinfo.do">
			<TABLE width="51%" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#000000">
				<TR>
					<TD width="37%" bgcolor="#ffffff">
						<TABLE border="0" width="100%" cellpadding="0" cellspacing="0" bgcolor="#708ec2">
							<TR bgcolor="#b0d8d8" width="100">
								<TD algin="center" colspan="4" bordercolor="#5870cf">
									<DIV align="center">
										<B> <FONT color="#191970" class="large" face="宋体" size="3"> 场地信息 </FONT></B>
									</DIV>
								</TD>
							</TR>
						</TABLE>
					</TD>
				</TR>
				<TR>
					<TD width="37%" algin="right">
						<DIV align="center">
							<FONT size="2" face="宋体" class="small" color="#000000">场地编号</FONT>
						</DIV>
					</TD>
					<TD width="63%" valign="baseline" align="center">
						<FONT size="2" face="宋体" class="small"> 
						<INPUT name="field_id" size="15" maxlength="32" type="text" value = <%=fieldinfo.getFieldId()%>> </FONT>
					</TD>
				</TR>
				<TR>
					<TD algin="right">
						<DIV align="center">
							<FONT size="2" face="宋体" class="small" color="#000000">场地类型</FONT>
						</DIV>
					</TD>
					<TD valign="baseline" align="center">
						<FONT size="2" face="宋体" class="small"> <INPUT name="field_type" size="15" maxlength="32" type="text" value = <%=fieldinfo.getFieldType()%>> </FONT>
					</TD>
				</TR>
				<TR>
					<TD algin="right">
						<DIV align="center">
							<FONT size="2" face="宋体" class="small" color="#000000">场地容量</FONT>
						</DIV>
					</TD>
					<TD align="center" valign="baseline">
						<FONT size="2" face="宋体" class="small"> <INPUT name="field_capacity" size="15" maxlength="32" type="text" value = <%=fieldinfo.getFieldCapacity()%> > </FONT>
					</TD>
				</TR>
				<TR>
					<TD width="37%" algin="right">
						<P align="center">
							<FONT size="2" face="宋体" class="small" color="#000000">场地價格</FONT>
						</P>
					</TD>
					<TD width="63%" valign="middle" align="center">
						<FONT size="2" face="宋体" class="small"> <INPUT name="field_price" size="15" maxlength="32" type="text"  value = <%=fieldinfo.getFieldPrice()%>> </FONT>
					</TD>
				</TR>
				
				<TR>
					<TD width="37%" algin="right">
						<P align="center">
							<FONT size="2" face="宋体" class="small" color="#000000">场地状态</FONT>
						</P>
					</TD>
					<TD width="63%" valign="middle" align="center">
						<FONT size="2" face="宋体" class="small"> <INPUT name="field_price" size="15" maxlength="32" type="text"  value = <%=fieldinfo.getFieldStatus()%>> </FONT>
					</TD>
				</TR>
			</TABLE>


			&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
			<div align="center">
				<INPUT type=submit value="修改" align="middle" border="1" size="2">

				<INPUT type=reset name="reset" value="重置" align="middle" size="2" border="1" />
			</div>
		</FORM>


	</BODY>
</html>

